using Jupiter.Infrastructure.Permission.Attributes;
using Wips.AppService.Authorities.Positions.ViewModels;
using Wips.Domain.Models.Authorities.Model;

namespace Wips.AppService.Authorities.Positions.Responses
{
    /// <summary>
    /// 读取职位分页数据响应类
    /// </summary>
    [DataPermission("岗位管理模块", typeof(GetPositionPagesResponse),
        typeof(Position))]
    public class GetPositionPagesResponse : PositionViewModel
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Created { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? Updated { get; set; }
    }
}